package com.guanghua.brick.util;

import java.util.Map;

/**
 * xml配置文件信息记录类。
 * 
 * @author leeon
 * 
 */
public interface IConfig {
	public String getName();

	public String getText();

	public String getText(String tagName);

	public String getAttribute(String attributeName);

	public IConfig[] getChildren(String childName);

	public void setName(String name);

	public void setText(String text);

	public void setAttribute(String attributeName, String attributeValue);

	public void setChild(IConfig child);

	public void replaceChild(IConfig child);
	
	public Map<String, String> getAttributeMap();
}
